package com.ipDev.moyvSys.domain.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * <p>
 * 题目的选项表
 * </p>
 *
 * @author fish
 * @since 2024-10-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("choice")
@ApiModel(value="Choice对象", description="题目的选项表")
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Choice implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String description;

    @ApiModelProperty(value = "选项归属于哪一个问题")
    private Integer problemId;

    private String choiceChar;

    private String image;


}
